package indi.zhifa.study2024.class002.busy.generalTest.enums.bill.consign;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.study2024.core.enummemo.entity.ann.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
@EnumDesc(name = "销售方式",desc = "销售方式",defaultIdx = 1,defaultItem = "销售")
public enum ESaleType {

    PRESENT(0,"赠送","赠送商品"),
    CONSIGN(1,"销售","销售商品"),
    RETURN(2,"退货","退货商品");

    @EnumValue
    @Getter
    private final int code;
    @Getter
    private final String name;
    @Getter
    private final String desc;
}
